package com.usdt.system.domain.resp;

import java.time.LocalDateTime;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.usdt.system.domain.req.VisitCustomerInfoReqVO;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "到访登记VO")
public class VisitRegisterRespVO {

	@Schema(title = "客户渠道(查主数据)")
    private String clueSource;

	@Schema(title = "人数")
    private Integer peopleNum;

	@Schema(title = "到访时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime visitTime;

	@Schema(title = "到访目的")
    private String visitPurpose;

	@Schema(title = "是否预约  0：否  1：是")
    private Boolean isReservation;

	@Schema(title = "客户关注点(查主数据)")
    private String peopleFocus;

	@Schema(title = "参观情况")
    private String visitSituation;
	
	@Schema(title = "客户状态(查主数据)")
	private String customerStatus;
	
	@Schema(title = "到访登记-客户")
	private List<VisitCustomerInfoRespVO> visitCustomerList;
	
	@Schema(title = "到访记录")
	private List<VisitRecordRespVO> visitRecordList;
	
	@Schema(title = "回访记录")
	private List<CallbackRecordRespVO> callbackRecordList;
	
	@Schema(title = "当前业务员")
    private String currentUserName;
	
	@Schema(title = "当前业务员id")
	private String currentUserId;
	
	@Schema(title = "部门id")
	private String deptId;
}
